<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$notult=  obtener_noticia(1, 3, 0, 4,0);
$i=1;

?>

<div id="not">
            <div class="titulo3">NOTICIAS</div>
         <?php while($regult=  mysql_fetch_array($notult)):?>
            <?php if($i==1)  
            {$class="class='noticia'";
              $i++;
            }
            else
                {$class="class='noticia2'";
                 $i=1;
                }


            ?>
            <div <?php echo $class; ?> >
              <div class="img_noticia2"><img src="../../control/archivos/<?php echo utf8_encode($regult['not_img_principal'])?>" width="140" height="100" /></div>
              <a href="noticia_ext.php?not_id=<?php echo utf8_encode($regult['not_id'])?>" class="link1"> <?php echo strtoupper(utf8_encode($regult['not_titulo']))?></a>
            </div>

         <?php endwhile ?>
          
 </div>